We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e0312 commit 9756534Copy full SHA for 9756534
files/en-us/mozilla/add-ons/webextensions/api/webrequest/streamfilter/ondata/index.md
@@ -424,7 +424,8 @@ function listener(details) {
424
425
// Check if the end of the data looks like "<h1>Exampl"
426
const n = data.length;
427
- mainLoop: for (let i = n - 1, l = n - bytes.length; i > l; i--) {
+ const m = bytes.length;
428
+ mainLoop: for (let i = n - 1, l = n - m; i > l; i--) {
429
if (bytes[0] === data[i]) {
430
const initial = i;
431
for (let j = 1, l = n - i; j < l; j++) {
0 commit comments